<?php

/**
 * Category filter form.
 *
 * @package    maximous
 * @subpackage filter
 * @author     Mina.Gerges.Wadea
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class CategoryFormFilter extends BaseCategoryFormFilter
{

    public function configure()
    {
        $this->disableCSRFProtection();
        $this->validatorSchema->setOption('allow_extra_fields', true);
        $this->useFields(array('title','need_check', 'statues'));
        $this->configureLoginUserRoleOnChangeStatusAndNeedCheck();
        $this->addFormatter('CustomFormatter');
    }

}
